package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@TableName(value = "c_order")
@Data
@Accessors(chain = true)
public class Order {

    @Id
    private String id;

    @Column(name = "goods_id")
    private String goodsId;

    private Integer status;

    @Column(name = "crt_time")
    private Date crtTime;
}
